Simplify mouse-dragging implementation.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 3 Jul 2010 03:07:48 +0000 (23:07 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 3 Jul 2010 03:07:48 +0000 (23:07 -0400)
commitd6ce3b087d8d6368426ea3847959fe4fc54b16dc
treecae6675efd3d0b2623647ce2232f5d46cb4e73be
parent5c0b43b9381881af1fdf453080da28a296baeee8
Simplify mouse-dragging implementation.
Now that DEL deletes active regions, we can handle it by using the
ordinary region instead of a separate overlay.

* mouse.el (mouse-drag-overlay): Variable deleted.
(mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
(mouse--remap-link-click-p): New function.
(mouse-drag-track): Handle dragging by using temporary Transient
Mark mode, instead of a special overlay.
(mouse-kill-ring-save, mouse-save-then-kill): Don't call
mouse-show-mark.

* mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
deleted.
lisp/ChangeLog
lisp/mouse-sel.el
lisp/mouse.el